package com.helsinki.service;

import com.github.pagehelper.PageInfo;
import com.helsinki.pojo.Permission;

import java.util.List;

public interface PermissionService {
    List<Permission> findAll();

    PageInfo<Permission> queryAll(Integer pageNum, Integer pageSize);

    void addPermission(Permission permission);

    void updatePermission(Permission permission);

    Permission queryById(String id);

    Boolean deleteById(String id);
}
